package controllers

import "net"

// 保存当前用户与服务器的连接

var (
	curUser *CurUser
)

type CurUser struct {
	*User
	Conn net.Conn
}

func NewConn(conn net.Conn, user *User){
	curUser = &CurUser{
		Conn: conn,
		User : user,
	}
}
